package com.wxzz.elearing.comment.service.openfeign.sentinel;

import com.alibaba.fastjson.JSONObject;
import com.wxzz.elearing.comment.dto.AdminQueAnsEnterpriseDto;
import com.wxzz.elearing.comment.service.openfeign.IEnterQueAnsApiFeign;
import com.wxzz.elearning.common.dto.FeignWxUserDto;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class EnterQueAnsApiFeignImpl implements IEnterQueAnsApiFeign {
    @Override
    public ReturnVO<JgPageVo<List<JSONObject>>> selectEnterList(AdminQueAnsEnterpriseDto adminQueAnsEnterpriseDto) {
        ReturnVO<JgPageVo<List<JSONObject>>> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterList调用异常");
        return returnVO;
    }

    @Override
    public ReturnVO<String> selectWxUserByWxUserId(Long wxUserId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectWxUserByWxUserId调用异常");
        return returnVO;
    }

    @Override
    public FeignWxUserDto selectFeignWxUserDtoByWxUserId(Long wxUserId) {
        return new FeignWxUserDto();
    }
}
